<!DOCTYPE html>
<html lang="zh">
<head>
	<th:block th:include="include :: header('图片预览')" />
	<meta http-equiv="UserContent-Type" content="text/html;charset=utf-8" />
	<style>
	#openImg{
	width: 500px;
    height: 580px;
    display: block;
    margin: 0 auto;
    padding: 20px;
    
	}
	::-webkit-scrollbar {
    width: 20px;
    height: 20px;
    background-color: #F5F5F5;
}
	</style>
</head>
<body style="margin: 0px; background: #0e0e0e;overflow:auto;">
<div><img alt="" id="openImg" src="" border="1" onmousewheel="return bigimg(this)">
	
</div>
	<th:block th:include="include :: footer" />
    <script type="text/javascript">

    $(function() {
    	var url = location.href.split("?url=")[1];
		$("#openImg").attr("src","/profile/avatar/"+url)
		
        
    });
    function bigimg(i)
    {
    	var zoom = parseInt(i.style.zoom,10)||100;
    	zoom += event.wheelDelta / 12;
    	if(zoom > 0 )
    	i.style.zoom=zoom+'%';
    	return false;
    }



    

    
    </script>
</body>
</html>
